/*
 * Created by Christopher King
 * Copyright (C) 2007 Christopher King, All Rights Reserved.
 */

package us.cirion.adventure.ui.mobile;

/**
 * A ButtonLayout describes the physical properties of an onscreen button.
 * Specifically, it records the button's location and dimensions. Other game
 * elements can use this information to determine where and how to draw button
 * labels.
 * 
 * @author Chris
 */
class ButtonLayout
{

	private int x;
	private int y;
	private int width;
	private int height;

	public ButtonLayout(int x, int y, int width, int height)
	{
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}

	public int getHeight()
	{
		return height;
	}

	public int getWidth()
	{
		return width;
	}

	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}
}